package com.qiaofang.housewarehouse.stub.request;

import com.qiaofang.housewarehouse.stub.bean.HousingAcqAttentionDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: GJ
 * @Date: 2018/4/10 18:40
 * @Description:
 */
@ApiModel(value="模糊匹配出售房屋查询条件")
public class SaleHouseQueryPriceRequest extends CommonRequest{

    @NotBlank(message = "城市 不能为空")
    @ApiModelProperty(value = "城市 (不能为空)")
    private String city;

    @ApiModelProperty(value = "（区域）城市区县")
    private String region;

    @ApiModelProperty(value = "(板块) 商圈")
    private String district;

    @ApiModelProperty(value = "户型")
    private String houseType;

    @ApiModelProperty(value = "装修")
    private String decoration;

    @ApiModelProperty(value = "面积区间[start]")
    private String startRoomArea;
    @ApiModelProperty(value = "面积区间[end]")
    private String endRoomArea;

    @ApiModelProperty(value = "总价区间[start]")
    private String startSellPrice;
    @ApiModelProperty(value = "总价区间[end]")
    private String endSellPrice;

    @ApiModelProperty(value = "楼层区间[start]")
    private String startFloor;
    @ApiModelProperty(value = "楼层区间[end]")
    private String endFloor;

    @ApiModelProperty(value = "年代区间[start]")
    private String startYear;
    @ApiModelProperty(value = "年代区间[end]")
    private String endYear;

    @ApiModelProperty(value = "关键字[小区]")
    private String keywords;
    @ApiModelProperty(value = "手机号黑名单, 手机号用逗号隔开")
    private String contactMobiles;
    @ApiModelProperty(value = "小区名称列表, 小区名称用逗号隔开")
    private String estates;

    @NotNull(message = "分页记录数 不能为空")
    @ApiModelProperty(value = "分页记录数 (不能为空)")
    private String pageSize;

    @NotNull(message = "分页索引 不能为空")
    @Min(value = 1,message = "分页索引不能小于1")
    @ApiModelProperty(value = "分页索引 (不能为空、分页索引不能小于1)")
    private String pageIndex;
    @ApiModelProperty(value = "关注的小区列表")
    private List<HousingAcqAttentionDTO>  housingAcqAttentionDTOS;
    @ApiModelProperty("我的关注")
    private Integer attentionFlag = 0;//0为默认，1为关注
    @ApiModelProperty("采集时间")
    private Date collectionTime;
    @ApiModelProperty("网站（58同城、赶集网...）")
    private String sources;
    @ApiModelProperty("房源类型")
    private String housingType;
    @ApiModelProperty("地址")
    private String address;

    public Integer getAttentionFlag() {
        return attentionFlag;
    }

    public void setAttentionFlag(Integer attentionFlag) {
        this.attentionFlag = attentionFlag;
    }

    public List<HousingAcqAttentionDTO> getHousingAcqAttentionDTOS() {
        return housingAcqAttentionDTOS;
    }

    public void setHousingAcqAttentionDTOS(List<HousingAcqAttentionDTO> housingAcqAttentionDTOS) {
        this.housingAcqAttentionDTOS = housingAcqAttentionDTOS;
    }

    public String getEstates() {
        return estates;
    }

    public void setEstates(String estates) {
        this.estates = estates;
    }

    public String getContactMobiles() {
        return contactMobiles;
    }

    public void setContactMobiles(String contactMobiles) {
        this.contactMobiles = contactMobiles;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getHouseType() {
        return houseType;
    }

    public void setHouseType(String houseType) {
        this.houseType = houseType;
    }

    public String getDecoration() {
        return decoration;
    }

    public void setDecoration(String decoration) {
        this.decoration = decoration;
    }

    public String getStartRoomArea() {
        return startRoomArea;
    }

    public void setStartRoomArea(String startRoomArea) {
        this.startRoomArea = startRoomArea;
    }

    public String getEndRoomArea() {
        return endRoomArea;
    }

    public void setEndRoomArea(String endRoomArea) {
        this.endRoomArea = endRoomArea;
    }

    public String getStartSellPrice() {
        return startSellPrice;
    }

    public void setStartSellPrice(String startSellPrice) {
        this.startSellPrice = startSellPrice;
    }

    public String getEndSellPrice() {
        return endSellPrice;
    }

    public void setEndSellPrice(String endSellPrice) {
        this.endSellPrice = endSellPrice;
    }

    public String getStartFloor() {
        return startFloor;
    }

    public void setStartFloor(String startFloor) {
        this.startFloor = startFloor;
    }

    public String getEndFloor() {
        return endFloor;
    }

    public void setEndFloor(String endFloor) {
        this.endFloor = endFloor;
    }

    public String getStartYear() {
        return startYear;
    }

    public void setStartYear(String startYear) {
        this.startYear = startYear;
    }

    public String getEndYear() {
        return endYear;
    }

    public void setEndYear(String endYear) {
        this.endYear = endYear;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(String pageIndex) {
        this.pageIndex = pageIndex;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public Date getCollectionTime() {
        return collectionTime;
    }

    public void setCollectionTime(Date collectionTime) {
        this.collectionTime = collectionTime;
    }

    public String getSources() {
        return sources;
    }

    public void setSources(String sources) {
        this.sources = sources;
    }

    public String getHousingType() {
        return housingType;
    }

    public void setHousingType(String housingType) {
        this.housingType = housingType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
